package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 消息推送文件记录对象 sys_push_file_record
 * 
 * @author ruoyi
 * @date 2025-08-31
 */
public class SysPushFileRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文件记录ID */
    private Long id;

    /** 消息推送ID，关联sys_push_record表 */
    @Excel(name = "消息推送ID，关联sys_push_record表")
    private Long pushRecordId;

    /** 文件URL */
    @Excel(name = "文件URL")
    private String fileUrl;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String fileName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setPushRecordId(Long pushRecordId) 
    {
        this.pushRecordId = pushRecordId;
    }

    public Long getPushRecordId() 
    {
        return pushRecordId;
    }

    public void setFileUrl(String fileUrl) 
    {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl() 
    {
        return fileUrl;
    }

    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("pushRecordId", getPushRecordId())
            .append("fileUrl", getFileUrl())
            .append("fileName", getFileName())
            .toString();
    }
}
